var app = angular.module('JavaServices',['ngResource']);
app.config(['$resourceProvider', function($resourceProvider) {
	  // Don't strip trailing slashes from calculated URLs
	  $resourceProvider.defaults.stripTrailingSlashes = false;
	}]);
app.service('ContentService', function($resource){
	this.getContent = $resource('java/getData',{id: "@id"},{
		'get': {method: 'POST'}
	});
});